package net.mappoint.s.mappoint_30;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

/**
 * The Find service allows you to locate addresses, places, latitude/longitude coordinates, and points of interest (from either MapPoint Web Service data or your data that we host for your use).
 *
 * This class was generated by Apache CXF 2.5.0
 * 2011-12-06T10:47:11.568+08:00
 * Generated source version: 2.5.0
 * 
 */
@WebServiceClient(name = "FindService", 
                  wsdlLocation = "http://service.mappoint.net/standard-30/mappoint.wsdl",
                  targetNamespace = "http://s.mappoint.net/mappoint-30/") 
public class FindService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://s.mappoint.net/mappoint-30/", "FindService");
    public final static QName FindServiceSoap = new QName("http://s.mappoint.net/mappoint-30/", "FindServiceSoap");
    static {
        URL url = null;
        try {
            url = new URL("http://service.mappoint.net/standard-30/mappoint.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(FindService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "http://service.mappoint.net/standard-30/mappoint.wsdl");
        }
        WSDL_LOCATION = url;
    }

    public FindService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    public FindService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public FindService() {
        super(WSDL_LOCATION, SERVICE);
    }
    

    /**
     *
     * @return
     *     returns FindServiceSoap
     */
    @WebEndpoint(name = "FindServiceSoap")
    public FindServiceSoap getFindServiceSoap() {
        return super.getPort(FindServiceSoap, FindServiceSoap.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns FindServiceSoap
     */
    @WebEndpoint(name = "FindServiceSoap")
    public FindServiceSoap getFindServiceSoap(WebServiceFeature... features) {
        return super.getPort(FindServiceSoap, FindServiceSoap.class, features);
    }

}
